<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:67:"F:\project\chuangyi/application/admin\view\article\add_article.html";i:1527065238;s:61:"F:\project\chuangyi\application\admin\view\public\header.html";i:1527126242;s:59:"F:\project\chuangyi\application\admin\view\public\left.html";i:1527063646;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>网站管理系统</title>
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/page.css" />

<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
<link href="__STATIC__/admin/font/css/font-awesome.min.css" rel="stylesheet" />
<script src="__STATIC__/admin/js/jquery.js"></script>
<script src="__STATIC__/layer/layer.js"></script>
<script src="__STATIC__/layer/css/layer.css"></script>
<script src="__STATIC__/admin/js/jquery.mCustomScrollbar.concat.min.js"></script>

<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/ueditor/ueditor.all.js"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<!--<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/lang/zh-cn/zh-cn.js"></script>-->
<script src="__STATIC__/admin/js/layer/layer.js"></script>
<script>
	(function($){
		$(window).load(function(){
			
			$("a[rel='load-content']").click(function(e){
				e.preventDefault();
				var url=$(this).attr("href");
				$.get(url,function(data){
					$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
					//scroll-to appended content 
					$(".content").mCustomScrollbar("scrollTo","h2:last");
				});
			});
			
			$(".content").delegate("a[href='top']","click",function(e){
				e.preventDefault();
				$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
			});
			
		});
	})(jQuery);
</script>
</head>
<body>
<header>
 <h1><img src="__STATIC__/admin/images/admin_logo.png"/></h1>
 <ul class="rt_nav">
  <li><a href="<?php echo url('home/Index/index'); ?>" target="_blank" class="website_icon">站点首页</a></li>
  <li><a class="admin_icon"><?php echo $info['account']; ?></a></li>
  <!-- <li><a href="#" class="set_icon">账号设置</a></li> -->
  <li><a href="javascript:void(0)" class="quit_icon">安全退出</a></li>
 </ul>
</header>
<style>
	.my_ul{
		height: 45px;background-color: #F0F0EE;margin-left: 210px;line-height: 46px;border-bottom: 1px solid #b6b6b6;
	}
	.my_ul li a{
		float: left;color: #333;margin-left: 20px;font-size: 14px;
	}
	.my_ul li a:hover{
		color: #19A97B;
	}
</style>
<section>
	<ul class="my_ul">
		
	</ul>
</section>
<style>
.my-skin .layui-layer-btn a{background-color:#19a97b;border:1px solid #19a97b; }
</style>
<script>
	$(".quit_icon").click(function(){
		$.post("<?php echo url('Login/login_out'); ?>",{},function(result){
			layer.alert(result.msg, {   
	            btn: ['确定']  
	       	},  
	        function (index, item) { 
	        		location.href = result.url;
	                //layer.close(index);  
	                //location.reload();  
	        });  
		});
	});

	layer.config({
		skin: 'my-skin'
	});
</script>
<?php
 $active=request()->controller().'/'.request()->action();

?>

<aside class="lt_aside_nav content mCustomScrollbar">
	<h2><a href="<?php echo url('Index/index'); ?>">起始页</a></h2>
	<ul>
		<li>
			<dl>
				<dt>系统设置</dt>
				<dd>
					<a href="<?php echo url('Set/copyright'); ?>">版权设置</a>
				</dd>
				<dd>
					<a href="<?php echo url('Set/banner'); ?>">轮播图</a>
				</dd>
				<dd>
					<a href="<?php echo url('link/index'); ?>">链接</a>
				</dd>
				<dd>
					<a href="<?php echo url('Set/join'); ?>">加入我们</a>
				</dd>
				<dd>
					<a href="<?php echo url('Set/contact'); ?>">联系我们</a>
				</dd>
				<dd>
					<a href="<?php echo url('Set/culture'); ?>">文化介绍</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>关于我们</dt>
				<dd>
					<a href="<?php echo url('Set/about'); ?>">关于我们</a>
				</dd>
				<dd>
					<a href="<?php echo url('credit/index'); ?>">荣誉/分支/寄语</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>添加文章</dt>
				<dd>
					<a href="<?php echo url('article/index'); ?>">文章列表</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>责任/公益活动</dt>
				<dd>
					<a href="<?php echo url('Set/duty'); ?>">责任介绍</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>产业管理</dt>
				<dd>
					<a href="<?php echo url('project/index'); ?>" >简介</a>
				</dd>
				<dd>
					<a href="<?php echo url('project/list_project'); ?>" >投资项目</a>
				</dd>
			</dl>
		</li>

		<li>
			<dl>
				<dt>学院管理</dt>
				<dd>
					<a href="<?php echo url('shool/index'); ?>">简介</a>
				</dd>
				<dd>
					<a href="<?php echo url('shool/list_teach'); ?>">讲师团队</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>招商管理</dt>
				<dd>
					<a href="<?php echo url('Set/investment'); ?>">简介</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>用户管理</dt>
				<dd>
					<a href="<?php echo url('Admin/li'); ?>">管理员</a>
				</dd>
			</dl>
		</li>
		<li>
			<p class="btm_infor">© 版权所有</p>
		</li>
	</ul>

</aside>
<section class="rt_wrap content mCustomScrollbar">
	<div class="rt_content">

		<!--点击加载-->
		<script>
			$(document).ready(function() {
				$("#loading").click(function() {
					$(".loading_area").fadeIn();
					$(".loading_area").fadeOut(1500);
				});
			});
		</script>
		<section class="loading_area">
			<div class="loading_cont">
				<div class="loading_icon"><i></i><i></i><i></i><i></i><i></i></div>
				<div class="loading_txt"><mark>数据正在加载，请稍后！</mark></div>
			</div>
		</section>
		<!--结束加载-->
		<!--弹出框效果-->
		<script>
			$(document).ready(function() {
				//弹出文本性提示框
				$("#showPopTxt").click(function() {
					$(".pop_bg").fadeIn();
				});
				//弹出：确认按钮
				$(".trueBtn").click(function() {
					alert("你点击了确认！"); //测试
					$(".pop_bg").fadeOut();
				});
				//弹出：取消或关闭按钮
				$(".falseBtn").click(function() {
					alert("你点击了取消/关闭！"); //测试
					$(".pop_bg").fadeOut();
				});
			});
		</script>
		<section class="pop_bg">
			<div class="pop_cont">
				<!--title-->
				<h3>弹出提示标题</h3>
				<!--content-->
				<div class="pop_cont_input">
					<ul>
						<li>
							<span>标题</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">城市</span>
							<select class="select">
								<option>选择省份</option>
							</select>
							<select class="select">
								<option>选择城市</option>
							</select>
							<select class="select">
								<option>选择区/县</option>
							</select>
						</li>
						<li>
							<span class="ttl">地址</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">地址</span>
							<textarea class="textarea" style="height:50px;width:80%;"></textarea>
						</li>
					</ul>
				</div>
				<!--以pop_cont_text分界-->
				<div class="pop_cont_text">
					这里是文字性提示信息！
				</div>
				<!--bottom:operate->button-->
				<div class="btm_btn">
					<input type="button" value="确认" class="input_btn trueBtn" />
					<input type="button" value="关闭" class="input_btn falseBtn" />
				</div>
			</div>
		</section>
		<!--结束：弹出框效果-->
<style>
    /* #edui1_toolbarbox{position: fixed;top: 116px;width:700px;z-index: 9999}*/
</style>
<form method="post" enctype="multipart/form-data" id="brandForm" action="<?php echo url('article/edit_article'); ?>">
    <section>
        <h2><strong>添加</strong></h2>
        <ul class="ulColumn2">
            <li style="height:auto;">
                <span class="item_name" style="width:120px;">标题：</span>
                <input type="text" name="title" class="textbox textbox_295" value="">
            </li>
            <li style="height:auto;">
                <span class="item_name" style="width:120px;">文章类型：</span>
                <select name="type" id="type">
                    <option value="1">企业文化</option>
                    <option value="2">创盈责任</option>
                    <option value="3">创盈学院</option>
                    <option value="4">招商中心</option>
                    <option value="5">加入我们</option>
                </select>
                （注：你所选中的文章类型，该文章编辑完将显示在该类型菜单下）
            </li>
            <li style="height:auto;">
                <span class="item_name" style="width:120px;">图片：</span>
                <input type="file" name="image">
            </li>
            </li>
            <li style="height:auto;">
                <span class="item_name" style="width:120px;">内容：</span>
                <script id="editor" name="content" type="text/plain" style="width:700px;height:300px;margin-left:125px; margin-top:-12px;"></script>
            </li>
            <li>
                <span class="item_name" style="width:120px;"></span>
                <input type="submit" class="link_btn" value="提交"/>
            </li>
        </ul>
    </section>
</form>
<div style="height: 200px"></div>

</div>
</section>

<script type="text/javascript">


    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');

    function isFocus(e) {
        alert(UE.getEditor('editor').isFocus());
        UE.dom.domUtils.preventDefault(e)
    }

    function setblur(e) {
        UE.getEditor('editor').blur();
        UE.dom.domUtils.preventDefault(e)
    }

    function insertHtml() {
        var value = prompt('插入html代码', '');
        UE.getEditor('editor').execCommand('insertHtml', value)
    }

    function createEditor() {
        enableBtn();
        UE.getEditor('editor');
    }
</script>
</body>
</html>